public class Student{
 
     //定义三个属性:学号，姓名，年龄
    private String no;
    private String name;
    private Integer age;

     //定义一个全参构造器为所有属性赋值
    public Student(String no,String name,Integer age){
        this.no = no;
        this.name = name;
        this.age = age;
    }
}